package cn.vcjf.weapp.api.goods.entity;

import cn.vcjf.weapp.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
    * 
    * </p>
 *
 * @author zhengzihang
 * @since 2018-09-25
 */
@TableName("vc_goods_brand")
public class GoodsBrand extends PageModel<GoodsBrand> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌编号
     */
    private Long brandNo;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 品牌生产商
     */
    private String brandProducer;

    private String logo;

    private Integer status;

    private String delFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Long getBrandNo() {
        return brandNo;
    }

    public void setBrandNo(Long brandNo) {
        this.brandNo = brandNo;
    }
    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }
    public String getBrandProducer() {
        return brandProducer;
    }

    public void setBrandProducer(String brandProducer) {
        this.brandProducer = brandProducer;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public void preInsert(){
        super.preInsert();
    }
    @Override
    public void preUpdate(){
        super.preInsert();
    }
    @Override
    public String toString() {
        return "GoodsBrand{" +
        "id=" + id +
        ", brandNo=" + brandNo +
        ", brandName=" + brandName +
        ", brandProducer=" + brandProducer +
        ", logo=" + logo +
        ", status=" + status +
        ", createUser=" + createUser +
        ", updatUser=" + updateUser +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", delFlag=" + delFlag +
        ", sysUserId=" + sysUserId +
        "}";
    }
}
